#include <stdlib.h>

#include "../lib/game/GameStateManager.h"
#include "GameStateIntro.h"
#include "../lib/game/TextureManager.h"
#include "../lib/game/GraphicEngine.h"

int main( int argc, char * argv[] )
{
    GraphicEngine::getInstance()->createWindow( 1024, 768, 32 );
    GameStateManager::getInstance()->addGameState( new GameStateIntro() );
    GameStateManager::getInstance()->run();


    cout << TextureManager::getInstance()->getTexture( "./textures/intro.png" ) << endl;
    cout << TextureManager::getInstance()->getTexture( "./textures/intro2.png" ) << endl;
    GraphicEngine::getInstance()->exitEngine();

    return EXIT_SUCCESS;
}
